gadget: Warn about missing size allocation
authorMatthias Clasen <mclasen@redhat.com>
Thu, 25 Feb 2016 03:18:13 +0000 (22:18 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 25 Feb 2016 03:22:11 +0000 (22:22 -0500)
commitdde33623ca3a26ab1c480d918bd86b7f2a24d0f2
tree98ed967d4ebe022f1d11c4c46e47320af5c04714
parentc75a8336333f5bcc6c285cc50db8d6daf133311c
gadget: Warn about missing size allocation

When size_allocate is overridden in widgets, but draw is not,
we can end up drawing a gadget that has not been given a size.

Warn about this, and limp along by drawing the gadget over the
full allocation of its owner widget.

https://bugzilla.gnome.org/show_bug.cgi?id=762614
gtk/gtkcssgadget.c